-module(utils).
-export([value_from_key/2]).

value_from_key(K, L) ->
	case lists:keysearch(K, 1, L) of
		{value, {K, V}} ->
			V;
		_ -> error
	end.
